package com.wxjssdk.message.domain.reply;

import com.thoughtworks.xstream.XStream;

/**
 * Created by huangfei on 20/06/2017.
 */
public class BaseReply {

    private String ToUserName;

    private String FromUserName;

    private long CreateTime;

    private String MsgType;

    public String getToUserName() {
        return ToUserName;
    }

    public void setToUserName(String toUserName) {
        ToUserName = toUserName;
    }

    public String getFromUserName() {
        return FromUserName;
    }

    public void setFromUserName(String fromUserName) {
        FromUserName = fromUserName;
    }

    public long getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(long createTime) {
        CreateTime = createTime;
    }

    public String getMsgType() {
        return MsgType;
    }

    public void setMsgType(String msgType) {
        MsgType = msgType;
    }

    public String toXml(){
        XStream xStream = new XStream();
        xStream.alias("xml",this.getClass());
        return xStream.toXML(this);
    }
}
